package com.molichuxing.gateway.bff.orders.entity.request.modify;

import javax.validation.constraints.NotNull;

import com.molichuxing.framework.dto.RequestRootDto;
import com.molichuxing.gateway.bff.car.entity.request.create.HandoverCreateVo;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * 订单还车vo
 * 
 * @author zoumingyu
 * @date 2019年12月10日
 *
 */
@Data
public class ReturnCarModifyVo extends RequestRootDto {
	private static final long serialVersionUID = -6934542660365933921L;

	@ApiModelProperty(value = "订单号", required = true)
	@NotNull(message = "订单号不能为空")
	private Long orderCode;

	@ApiModelProperty(value = "车辆id", required = true)
	@NotNull(message = "车辆id不能为空")
	private Integer carId;

	@ApiModelProperty(value = "已行驶里程数", required = true)
	@NotNull(message = "已行驶里程数不能为空")
	private Integer mileage;

	@ApiModelProperty(value = "车辆交接单信息", required = true)
	private HandoverCreateVo handover;

	@ApiModelProperty(value = "设备编号（智能终端下单为终端cpu）", hidden = true)
	private String deviceNum;
	
	@ApiModelProperty(value = "用户id", hidden = true)
	private Integer userId;
	
	@ApiModelProperty(value = "销售顾问id", hidden = true)
	private Integer salesmanId;

	@ApiModelProperty(value = "销售顾问姓名", hidden = true)
	private String salesmanName;

	@ApiModelProperty(value = "销售顾问身份证号", hidden = true)
	private String salesmanIdNumber;
}
